package com.example.p57;

import java.io.File;

/**
 * @author Lenovo
 */
public class Main {
    public static void main(String[] args) {
    File[] roots = File.listRoots();
    System.out.printf("系统所有根目录：");
        for (File root : roots) {
            System.out.printf(root.toString());
        }
    }
}
